@import "./layui";


.layadmin-title {
  display: block;
  position: relative;
  padding: 0 0 10px 15px;
  color: $color-primary;
  font-size: 16px;

  &:before {
    content: "\20";
    position: absolute;
    top: 2px;
    left: 0;
    display: block;
    width: 5px;
    height: 20px;
    background-color: $color-primary;
  }
}


.gw-full-scroll {
  width: 100%;
  height: 100%;
  padding: 10px;
  overflow: auto;
}

.gw-fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999;
  border-bottom: 1px solid $border-color;
  box-shadow: 0 1px 1px rgba($color-black, .05);
}

.gw-col {
  padding: 0 9px;
}

.gw-bg-lightgray, .gw-bg-lightgrey {
  background-color: $color-gray-f200 !important;
  color: $text-color;
}

.gw-text-left {
  text-align: left !important;
}

.gw-text-center {
  text-align: center !important;
}

.gw-text-right {
  text-align: right !important;
}

.gw-col-text-left {
  padding-left: 9px;
  text-align: left !important;
}

.gw-col-text-center {
  padding: 0;
  text-align: center !important;
}

.gw-col-text-right {
  padding-right: 9px;
  text-align: right !important;
}

.gw-border-none {
  border: none !important;
}

.gw-aside-left {
  position: absolute;
  width: 250px;
  height: 100%;
  padding: 0 5px;
  border-right: 1px solid $border-color;
  box-sizing: border-box;
  overflow: auto;
}

.gw-has-aside {
  left: 251px !important;
}

.gw-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.container-fluid {
  @extend .layui-fluid;
}

.row {
  margin-left: -1 * $space;
  margin-right: -1 * $space;

  @include clearfix;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}

.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
  float: left;
}

.col-xs-12 {
  width: 100%;
}

.col-xs-11 {
  width: 91.66666667%;
}

.col-xs-10 {
  width: 83.33333333%;
}

.col-xs-9 {
  width: 75%;
}

.col-xs-8 {
  width: 66.66666667%;
}

.col-xs-7 {
  width: 58.33333333%;
}

.col-xs-6 {
  width: 50%;
}

.col-xs-5 {
  width: 41.66666667%;
}

.col-xs-4 {
  width: 33.33333333%;
}

.col-xs-3 {
  width: 25%;
}

.col-xs-2 {
  width: 16.66666667%;
}

.col-xs-1 {
  width: 8.33333333%;
}

@media (min-width: 768px) {
  .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
      float: left;
  }

  .col-sm-12 {
      width: 100%;
  }

  .col-sm-11 {
      width: 91.66666667%;
  }

  .col-sm-10 {
      width: 83.33333333%;
  }

  .col-sm-9 {
      width: 75%;
  }

  .col-sm-8 {
      width: 66.66666667%;
  }

  .col-sm-7 {
      width: 58.33333333%;
  }

  .col-sm-6 {
      width: 50%;
  }

  .col-sm-5 {
      width: 41.66666667%;
  }

  .col-sm-4 {
      width: 33.33333333%;
  }

  .col-sm-3 {
      width: 25%;
  }

  .col-sm-2 {
      width: 16.66666667%;
  }

  .col-sm-1 {
      width: 8.33333333%;
  }
}

@media (min-width: 992px) {
  .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
      float: left;
  }

  .col-md-12 {
      width: 100%;
  }

  .col-md-11 {
      width: 91.66666667%;
  }

  .col-md-10 {
      width: 83.33333333%;
  }

  .col-md-9 {
      width: 75%;
  }

  .col-md-8 {
      width: 66.66666667%;
  }

  .col-md-7 {
      width: 58.33333333%;
  }

  .col-md-6 {
      width: 50%;
  }

  .col-md-5 {
      width: 41.66666667%;
  }

  .col-md-4 {
      width: 33.33333333%;
  }

  .col-md-3 {
      width: 25%;
  }

  .col-md-2 {
      width: 16.66666667%;
  }

  .col-md-1 {
      width: 8.33333333%;
  }
}

/* 老版卡片 */
.gw-card {
  margin-bottom: 20px;
  background-color: $color-white;
  border: 1px solid $border-color;
  border-radius: 2px;
  // box-shadow: 0 1px 1px rgba($color-black, 0.05);
}

.gw-card-title {
  height: 40px;
  padding: 0 10px;
  border-bottom: 1px solid $border-color;
  font-size: 16px;
  font-weight: 400;
  color: $color-gray-900;
  background-color: $color-gray-fb00;
  overflow: hidden;

  @include clearfix;
}

.gw-card-title-lt {
  line-height: 38px;
  float: left;
  font-size: 16px;
}

.gw-card-title-rt {
  line-height: 38px;
  float: right;
  font-size: 14px;
}

.gw-card-content {
  padding: 7px;
  background: $color-white;
}

.gw-card-content > .layui-table:first-child {
  margin: 0;
}

.gw-card-border-none {
  border: none;
}

.gw-card-border-none .gw-card-title {
  border-bottom: none;
}

.gw-card-border-none .gw-card-content {
  padding: 0;
}

.gw-fixed-top + .gw-card {
  margin-top: 40px;
}

.gw-fixed-top ~ .gw-card {
  margin-bottom: 0;
}

/* 新版卡片 */
.gw-card {
  margin-bottom: $space;
  border: 1px solid transparent;
}

.gw-card-body {
  position: relative;
  @extend .layui-fluid;
}

.gw-card-heading {
  position: relative;
  padding: 11px 10px;
  border-bottom: 1px solid transparent;
  border-top-right-radius: 2px;
  border-top-left-radius: 2px;
  color: $text-color;
}

.gw-card-heading > .dropdown .dropdown-toggle {
  color: inherit;
}

.gw-card-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  color: inherit;
}

.gw-card-title > a,
.gw-card-title > small,
.gw-card-title > .small,
.gw-card-title > small > a,
.gw-card-title > .small > a {
  color: inherit;
}

.gw-card-footer {
  padding: 10px 15px;
  background-color: $color-gray-f200;
  border-top: 1px solid $border-color;
  border-bottom-right-radius: 2px;
  border-bottom-left-radius: 2px;
}

.gw-card > .table {
  margin-bottom: 0;
}

.gw-card > .table caption {
  padding-left: 15px;
  padding-right: 15px;
}

.gw-card > .table:first-child {
  border-top-right-radius: 2px;
  border-top-left-radius: 2px;
}

.gw-card > .table:first-child > thead:first-child > tr:first-child,
.gw-card > .table:first-child > tbody:first-child > tr:first-child {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

.gw-card > .table:first-child > thead:first-child > tr:first-child td:first-child,
.gw-card > .table:first-child > tbody:first-child > tr:first-child td:first-child,
.gw-card > .table:first-child > thead:first-child > tr:first-child th:first-child,
.gw-card > .table:first-child > tbody:first-child > tr:first-child th:first-child {
  border-top-left-radius: 2px;
}

.gw-card > .table:first-child > thead:first-child > tr:first-child td:last-child,
.gw-card > .table:first-child > tbody:first-child > tr:first-child td:last-child,
.gw-card > .table:first-child > thead:first-child > tr:first-child th:last-child,
.gw-card > .table:first-child > tbody:first-child > tr:first-child th:last-child {
  border-top-right-radius: 2px;
}

.gw-card > .table:last-child {
  border-bottom-right-radius: 2px;
  border-bottom-left-radius: 2px;
}

.gw-card > .table:last-child > tbody:last-child > tr:last-child,
.gw-card > .table:last-child > tfoot:last-child > tr:last-child {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.gw-card > .table:last-child > tbody:last-child > tr:last-child td:first-child,
.gw-card > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
.gw-card > .table:last-child > tbody:last-child > tr:last-child th:first-child,
.gw-card > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
  border-bottom-left-radius: 2px;
}

.gw-card > .table:last-child > tbody:last-child > tr:last-child td:last-child,
.gw-card > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
.gw-card > .table:last-child > tbody:last-child > tr:last-child th:last-child,
.gw-card > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
  border-bottom-right-radius: 2px;
}

.gw-card > .gw-card-body + .table,
.gw-card > .table + .gw-card-body {
  border-top: 1px solid $border-color;
}

.gw-card > .table > tbody:first-child > tr:first-child th,
.gw-card > .table > tbody:first-child > tr:first-child td {
  border-top: 0;
}

.gw-card > .table-bordered {
  border: 0;
}

.gw-card > .table-bordered > thead > tr > th:first-child,
.gw-card > .table-bordered > tbody > tr > th:first-child,
.gw-card > .table-bordered > tfoot > tr > th:first-child,
.gw-card > .table-bordered > thead > tr > td:first-child,
.gw-card > .table-bordered > tbody > tr > td:first-child,
.gw-card > .table-bordered > tfoot > tr > td:first-child {
  border-left: 0;
}

.gw-card > .table-bordered > thead > tr > th:last-child,
.gw-card > .table-bordered > tbody > tr > th:last-child,
.gw-card > .table-bordered > tfoot > tr > th:last-child,
.gw-card > .table-bordered > thead > tr > td:last-child,
.gw-card > .table-bordered > tbody > tr > td:last-child,
.gw-card > .table-bordered > tfoot > tr > td:last-child {
  border-right: 0;
}

.gw-card > .table-bordered > thead > tr:first-child > td,
.gw-card > .table-bordered > tbody > tr:first-child > td,
.gw-card > .table-bordered > thead > tr:first-child > th,
.gw-card > .table-bordered > tbody > tr:first-child > th {
  border-bottom: 0;
}

.gw-card > .table-bordered > tbody > tr:last-child > td,
.gw-card > .table-bordered > tfoot > tr:last-child > td,
.gw-card > .table-bordered > tbody > tr:last-child > th,
.gw-card > .table-bordered > tfoot > tr:last-child > th {
  border-bottom: 0;
}

.gw-card-default {
  border-color: $border-color;
}

.gw-card-default > .gw-card-heading {
  color: $text-color;
  background-color: $color-gray-f200;
  border-color: $border-color;
}

.gw-card-default > .gw-card-heading + .gw-card-collapse > .gw-card-body {
  border-top-color: $border-color;
}

.gw-card-default > .gw-card-heading .badge {
  color: $color-gray-f200;
  background-color: $text-active-color;
}

.gw-card-default > .gw-card-footer + .gw-card-collapse > .gw-card-body {
  border-bottom-color: $border-color;
}

.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  padding: 8px 10px;
  line-height: 1.42857143;
  border-top: 1px solid $border-color;
}

.table > thead > tr > th {
  vertical-align: bottom;
  border-bottom: 2px solid $border-color;
}

.table > caption + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > th,
.table > thead:first-child > tr:first-child > th,
.table > caption + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > td,
.table > thead:first-child > tr:first-child > td {
  border-top: 0;
}

.table > tbody + tbody {
  border-top: 2px solid $border-color;
}

.table .table {
  background-color: $color-white;
}

.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > td {
  padding: 5px;
}

.table-bordered {
  border: 1px solid $border-color;
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
  border: 1px solid $border-color;
}

.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
  border-bottom-width: 2px;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: $color-gray-f200;
}

.table-hover > tbody > tr:hover {
  background-color: $color-gray-f200;
}

table col[class^="col-"] {
  position: static;
  float: none;
  display: table-column;
}

table td[class^="col-"],
table th[class^="col-"] {
  position: static;
  float: none;
  display: table-cell;
}

.table > thead > tr > td.active,
.table > tbody > tr > td.active,
.table > tfoot > tr > td.active,
.table > thead > tr > th.active,
.table > tbody > tr > th.active,
.table > tfoot > tr > th.active,
.table > thead > tr.active > td,
.table > tbody > tr.active > td,
.table > tfoot > tr.active > td,
.table > thead > tr.active > th,
.table > tbody > tr.active > th,
.table > tfoot > tr.active > th {
  background-color: $color-gray-f200;
}

.table-hover > tbody > tr > td.active:hover,
.table-hover > tbody > tr > th.active:hover,
.table-hover > tbody > tr.active:hover > td,
.table-hover > tbody > tr:hover > .active,
.table-hover > tbody > tr.active:hover > th {
  background-color: $color-gray-f200;
}

.page--main,
.page--aside {
  position: relative;
}

.page--radian {
  border-radius: 2px !important;
}

.page--title {
  color: $text-color;
  margin-bottom: 10px;
  font-size: 16px;
}

.page--toolbar {
  margin-bottom: 10px;
  border-radius: 2px;
}

.page--toolbar .toolbar-head {
  padding: 8px 10px;
  border: solid 1px #a8c7ce;
  border-radius: 2px 2px 0 0;
  background-color: #dae8f1;
}

.page--toolbar .toolbar-head > a {
  margin-right: 10px;
  user-select: none;
  cursor: pointer;
}

.page--toolbar .toolbar-head-fixed {
  position: fixed;
  z-index: 5000;
  border-radius: 2px;
  transition: all .3s;
}

.page--toolbar .toolbar-head-fixed:hover {
  @include opacity;
}

.page--toolbar .toolbar-body {
  padding: 5px 10px;
  border: 1px solid border-color;
  border-radius: 0 0 2px 2px;
  background-color: $color-white;
}

.page--toolbar ~ .layui-table-view {
  margin: 0;
}

.form-label {
  font-weight: normal;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  text-align: center;
}

.page--toolbar .form-label,
.page--toolbar .form-field {
  height: 38px;
  line-height: 38px;
}

table .form-label {
  text-align: right;
}

@media (min-width: 768px) {
  .page--toolbar .form-field {
      padding-left: 15px;
  }
}

/* treeselect */
.layui-form-select .layui-form-select-menu {
  top: 42px;
  left: 0;
  z-index: 999;
  max-height: 300px;
  border-radius: 2px;
  overflow-y: auto;
  @extend %dropdown-menu;
}

.layui-form-selected .layui-form-select-menu {
  display: block;
}

/* laydate */
body .gw-laydate-icon {
  position: absolute;
  top: 10px;
  right: 9px;
  color: $color-gray-c200;
}

[lay-datepicker] {
  position: relative;
  padding-right: 30px;
  background-position: calc(100% - 7.5px) center;
  background-repeat: no-repeat;
  background-image: url('data:image/svg+xml;utf8, <svg width="16" height="16" fill="#ccc" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M805.49888 981.49888l-602.3168-0.76288c-86.59456-8.192-154.56768-81.3056-154.56768-170.01472L48.6144 291.73248c0-94.1568 76.60032-170.75712 170.7776-170.75712l586.10176 0c94.1568 0 170.73152 76.60032 170.73152 170.75712L976.22528 810.7008C976.2304 904.87296 899.63008 981.49888 805.49888 981.49888L805.49888 981.49888zM219.3664 190.57152c-55.79776 0-101.20192 45.38368-101.20192 101.18144l0 518.96832c0 55.79776 45.40416 101.20704 101.20192 101.20704l586.13248 0c55.77728 0 101.16096-45.40928 101.16096-101.20704L906.65984 291.73248c0-55.79776-45.38368-101.18656-101.16096-101.18656L219.3664 190.54592 219.3664 190.57152zM698.84416 290.51904c-25.60512 0-46.38208-20.77696-46.38208-46.38208l0-158.6688c0-25.6 20.77696-46.38208 46.38208-46.38208 25.6 0 46.38208 20.78208 46.38208 46.38208L745.22624 244.1216C745.22624 269.7472 724.46976 290.51904 698.84416 290.51904L698.84416 290.51904zM315.65824 290.51904c-25.60512 0-46.38208-20.77696-46.38208-46.38208l0-158.6688c0-25.6 20.77696-46.38208 46.38208-46.38208 25.6 0 46.38208 20.78208 46.38208 46.38208L362.04032 244.1216C362.04032 269.7472 341.28896 290.51904 315.65824 290.51904L315.65824 290.51904zM534.8864 794.78784l-44.27264 0c-25.6 0-46.38208-20.77696-46.38208-46.38208 0-25.6 20.78208-46.38208 46.38208-46.38208l44.27264 0c25.6 0 46.38208 20.78208 46.38208 46.38208C581.26848 774.01088 560.4864 794.78784 534.8864 794.78784L534.8864 794.78784zM930.79552 452.608 121.24672 452.608c-25.60512 0-46.38208-20.78208-46.38208-46.38208 0-25.60512 20.77696-46.38208 46.38208-46.38208l809.5744 0c25.6 0 46.38208 20.77696 46.38208 46.38208C977.2032 431.82592 956.42624 452.608 930.79552 452.608L930.79552 452.608zM327.92576 649.03168l-44.27264 0c-25.6 0-46.38208-20.78208-46.38208-46.38208 0-25.60512 20.78208-46.38208 46.38208-46.38208l44.27264 0c25.6 0 46.38208 20.77696 46.38208 46.38208C374.30784 628.25472 353.52576 649.03168 327.92576 649.03168L327.92576 649.03168zM534.8864 649.03168l-44.27264 0c-25.6 0-46.38208-20.78208-46.38208-46.38208 0-25.60512 20.78208-46.38208 46.38208-46.38208l44.27264 0c25.6 0 46.38208 20.77696 46.38208 46.38208S560.4864 649.03168 534.8864 649.03168L534.8864 649.03168zM741.27872 649.03168l-44.26752 0c-25.60512 0-46.38208-20.78208-46.38208-46.38208 0-25.60512 20.77696-46.38208 46.38208-46.38208l44.26752 0c25.60512 0 46.38208 20.77696 46.38208 46.38208C787.6608 628.25472 766.90944 649.03168 741.27872 649.03168L741.27872 649.03168zM327.92576 794.78784l-44.27264 0c-25.6 0-46.38208-20.77696-46.38208-46.38208 0-25.6 20.78208-46.38208 46.38208-46.38208l44.27264 0c25.6 0 46.38208 20.78208 46.38208 46.38208C374.30784 774.01088 353.52576 794.78784 327.92576 794.78784L327.92576 794.78784zM741.27872 794.78784l-44.26752 0c-25.60512 0-46.38208-20.77696-46.38208-46.38208 0-25.6 20.77696-46.38208 46.38208-46.38208l44.26752 0c25.60512 0 46.38208 20.78208 46.38208 46.38208C787.6608 774.01088 766.90944 794.78784 741.27872 794.78784L741.27872 794.78784z" p-id="2207"></path></svg>');
}

[lay-datepicker~="time"] {
  background-image: url('data:image/svg+xml;utf8, <svg width="16" height="16" fill="#ccc" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M512 192c179.2 0 320 140.8 320 320s-140.8 320-320 320-320-140.8-320-320S332.8 192 512 192M512 128C300.8 128 128 300.8 128 512s172.8 384 384 384 384-172.8 384-384S723.2 128 512 128L512 128z" p-id="2325"></path><path d="M640 672c-6.4 0-19.2 0-25.6-6.4l-128-128C486.4 531.2 480 518.4 480 512L480 288C480 268.8 492.8 256 512 256s32 12.8 32 32l0 211.2 121.6 121.6c12.8 12.8 12.8 32 0 44.8C659.2 672 646.4 672 640 672z" p-id="2326"></path></svg>');
}

[lay-datepicker] + [lay-datepicker-icon] {
  position: absolute;
  top: 50%;
  right: 5px;
  margin-top: -9px;
  line-height: 1;
  font-size: 18px;
  pointer-events: none;
}

/* button */
body .layui-btn-group.layui-group-xs > .layui-btn {
  height: 22px;
  line-height: 22px;
  padding: 0 5px;
  font-size: 12px;
}

body .layui-btn-group.layui-group-xs > .layui-btn .layui-icon,
body .layui-btn-group.layui-group-xs > .layui-btn .gw-icon {
  margin-right: 0;
  font-size: 14px !important;
}

// layadmin-btn-text
.layadmin-btn-text {
  background-color: transparent;

  &,
  &:hover {
    color: $color-primary;
  }

  &.is-disabled {
    color: #62aaff;
    cursor: not-allowed;
  }
}

/* app */
[lay-href],
[layadmin-event],
[lay-event] {
  @extend %cursor-pointer;
}

.layadmin-layout-body {
  background-color: $body-bg;
}

.layui-layout-admin .layui-footer {
  left: 220px;
  height: auto;
  padding: 10px 0;
  text-align: center;
  background-color: $color-white;
  box-shadow: 0 -1px 2px 0 rgba($color-black, 0.05);
  transition: all .3s;
}

.layadmin-layout-shrink .layui-layout-admin .layui-footer {
  left: 60px;
}

.layadmin-link {
  color: $color-primary-100 !important;
  @extend %cursor-pointer;

  &:hover {
    @include opacity(0.8);
  }

  &:active {
    @include opacity;
  }
}

.layadmin-iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.layui-card-header.layadmin-card-header-auto {
  padding-top: 15px;
  padding-bottom: 15px;
  height: auto;
  line-height: 1;
}

.layadmin-card-header-auto .layui-form-item:last-child {
  margin-bottom: 0;
}

.layui-card-header .layui-a-tips {
  position: absolute;
  right: 15px;
  color: $color-primary;
}

.layuiadmin-card-list {
  padding: 15px;
}

.layuiadmin-card-list p.layuiadmin-big-font {
  font-size: 36px;
  color: $text-color;
  line-height: 36px;
  padding: 5px 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  white-space: nowrap;
}

.layuiadmin-card-list p.layuiadmin-normal-font {
  padding-bottom: 10px;
  font-size: 20px;
  color: $text-color;
  line-height: 24px;
}

/* carousel */
.layadmin-carousel {
  height: 185px !important;
  background-color: $color-white;
}

.layadmin-carousel .layui-carousel-ind li {
  background-color: $color-gray-e200;
}

.layadmin-carousel .layui-carousel-ind li:hover {
  background-color: $color-gray-c900;
}

.layadmin-carousel .layui-carousel-ind li.layui-this {
  background-color: $color-gray-900;
}

.layadmin-carousel .layui-carousel,
.layadmin-carousel > [carousel-item] > * {
  background-color: $color-white;
}

.layadmin-carousel .layui-col-space10 {
  margin: 0;
}

.layadmin-carousel .layui-carousel-ind {
  position: absolute;
  top: -41px;
  text-align: right;
}

.layadmin-carousel .layui-carousel-ind ul {
  background: 0 0;
}

.layadmin-shortcut li {
  text-align: center;
}

.layadmin-shortcut li i[class*="icon"] {
  display: inline-block;
  width: 100%;
  height: 60px;
  line-height: 60px;
  text-align: center;
  border-radius: 2px;
  font-size: 30px;
  background-color: $color-gray-f200;
  color: $text-color;
  transition: all .3s;
}

.layadmin-shortcut li cite {
  position: relative;
  top: 2px;
  display: block;
  color: $text-color;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-size: 14px;
}

.layadmin-shortcut li:hover i[class*="icon"] {
  background-color: $color-gray-f200;
}

.layadmin-dataview {
  height: 332px !important;
}

.layadmin-dataview > [carousel-item]:before {
  display: none;
}

.layadmin-dataview > [carousel-item] > div {
  height: 332px;
}

.layadmin-news {
  height: 60px !important;
  padding: 5px 0;
}

.layadmin-news a {
  display: block;
  line-height: 60px;
  text-align: center;
}

.layadmin-news .layui-carousel-ind {
  height: 45px;
}

.layuiadmin-badge,
.layuiadmin-btn-group,
.layuiadmin-span-color {
  position: absolute;
  right: 15px;
}

/* required */
.layadmin-required .layui-form-label:before,
.layadmin-required > span:before {
  content: " * ";
  color: $color-red;
  margin-right: 4px;
}

[data-verify*="required"],
[lay-verify*="required"],
[data-verify*="required"] + .layui-form-select .layui-input,
[lay-verify*="required"] + .layui-form-select .layui-input {
  background-color: mix($color-white, $color-orange, 92%);
}

.layui-input-inline.layadmin-input-suffix {
  width: auto !important;
}

.layadmin-input-suffix .layui-form-radio,
.layadmin-input-suffix .layui-form-checkbox[lay-skin="primary"],
.layadmin-input-suffix .layui-form-switch {
  display: block;
  margin-top: 0;
}

/* material */
.layadmin-material {
  display: block;
  color: $color-primary;
  padding: 2px 4px;
  border-radius: 3px;
  cursor: default;

  &:hover {
    background-color: $color-gray-f200;
  }

  .layui-btn:first-child {
    margin-left: 8px;
  }
} 

/* more */
[lay-more], .layadmin-more-meta {
  @extend %display-none;
}

.layadmin-more {
  display: block;
}

.layadmin-more-ctrl {
  position: relative;
  height: 44px;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
  color: $color-gray-900;
  background-color: $color-white;
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;

  &:hover {
    color: $color-primary;
    background-color: $color-gray-f200;
  }

  .layui-icon {
    margin-right: 10px;
    font-size: 14px;
    line-height: 44px;
    transition: .3s;
  }
}

.layadmin-mid {
  display: inline-block;
  height: 10px;
  width: 1px;
  margin: 0 10px;
  vertical-align: middle;
  background-color: $border-color;
}

.layui-table .layadmin-mid {
  margin: 0 8px;
}
